home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 26 / AACD 26.iso / AACD / Utilities / TitleShadow / InstallData / TitleShadow.Install < prev   
Encoding:
Text File  |  2001-09-27  |  7.5 KB  |  161 lines

  1. ;
  2. ; Installer for TitleShadow
  3. ; (first beta)
  4. ;
  5.  
  6. (set #language (getenv "Language"))
  7.  
  8. (set #defmainexedir "SYS:C")
  9. (set #defprefsdir "SYS:Prefs")
  10. (set #defdocsdir "HELP:")
  11.  
  12. ; - ENGLIGH STRINGS
  13.  
  14. (set #welcome2 "\n\nThankyou for trying TitleShadow.\n©2000-2001 Peter Gordon\n\nPLEASE READ THE DOCS!\n\nWARNING: This program is a PATCH and as such may be incompatible with other pieces of software. You use this software entirely AT YOUR OWN RISK.")
  15. (set #wheremainexe "Where should I install the main TitleShadow executable? (a directory will NOT be created)")
  16. (set #whereprefs "Where should I install the preferences program? (a directory will NOT be created)")
  17. (set #wheredocs "Where should I install the documentation? (a directory will NOT be created)")
  18.  
  19. (set #whichicon "Which icon would you like to use for the preferences program?")
  20. (set #icontype1 "Andreas Kürzinger")
  21. (set #icontype2 "Fabrizio Bartoloni")
  22. (set #icontype3 "Uros Lepota")
  23. (set #iconfile1 "Icons/Andreas Kürzinger/TitleShadowPrefs.info")
  24. (set #iconfile2 "Icons/Fabrizio Bartoloni/TitleShadowPrefs.info")
  25. (set #iconfile3 "Icons/Uros Lepota/TitleShadowPrefs.info")
  26. (set #iconhelp "There are 3 different icons available for the TitleShadow preferences program. Please select the one you like the most")
  27. (set #iconpic "InstallData/IconPreview.ILBM")
  28.  
  29. (set #startupask "\n\nTitleShadow needs to be installed in your 'S:User-Startup' file so that it is available every time you boot. This install script can attempt to do it for you, but if you are running VisualPrefs, you MUST make sure that TitleShadow is run BEFORE it MANUALLY.\n\nWould you like the installer to add TitleShadow to your User-Startup?")
  30. (set #startuphelp "TitleShadow needs to be installed in your 'S:User-Startup' file so that it is available every time you boot. This install script can attempt to do it for you, but if you are running VisualPrefs, you MUST make sure that TitleShadow is run BEFORE it MANUALLY.")
  31.  
  32. (set #endmessage "\n\nTitleShadow is now installed. You will need to reboot for the patch to become active.\n\nIf you have any questions, suggestions or comments, please e-mail me at:\n\nmrtickle@amiga4k.ndo.co.uk")
  33.  
  34. (set #guidefile "TitleShadow.guide")
  35. (set #guideinfofile "TitleShadow.guide.info")
  36.  
  37. ; - GERMAN STRINGS
  38.  
  39. (if (= #language "deutsch")
  40.   (
  41.     (set #welcome2 "\n\nDanke das Sie TitleShadow testen möchten.\n©2000-2001 Peter Gordon\n\nBITTE LESEN SIE DIE ANLEITUNG!\n\nWARNUNG: Dieses Programm ist ein PATCH und ist vielleicht inkompatibel mit anderen Programmen. Sie benutzen diese Software auf EIGENE GEFAHR!")
  42.     (set #wheremainexe "Wo möchten Sie das Hauptprogramm von TitleShadow installiert haben? (Ein Verzeichniss wird nicht erstellt)")
  43.     (set #whereprefs "Wo möchten Sie das Einstellungsprogramm installiert haben? (Ein Verzeichniss wird nicht erstellt)")
  44.     (set #wheredocs "Wo möchten Sie die Anleitung installiert haben? (Ein Verzeichniss wird nicht erstellt)")
  45.   
  46.     (set #whichicon "Welches Ikon wollen Sie für das Einstellungsprogramm benutzen?")
  47.     (set #iconhelp "Es stehen drei verschiedene Ikons für das Einstellungsprogramm zur Verfügung. Bitte wählen Sie eines aus, was Ihnen am Besten gefällt!")
  48.   
  49.     (set #startupask "\n\nTitleShadow benötigt eine Installation in Ihrer 'S:User-Startup' Datei damit es jedesmal nach einem Systemboot zur Verfügung steht. Der Installer kann dies für Sie tuhen, aber wenn Sie VisualPrefs benutzen, MÜSSEN Sie sicher gehen, dass TitleShadow vor VisualPrefs gestartet wird. Das heisst Sie müssen TitleShadow eventuell selbst eintragen.\n\nMöchten Sie das der Installer TitleShadow in die User-Startup einfügt?")
  50.     (set #startuphelp "TitleShadow benötigt eine Installation in Ihrer 'S:User-Startup' Datei damit es jedesmal nach einem Systemboot zur Verfügung steht. Der Installer kann dies für Sie tuhen, aber wenn Sie VisualPrefs benutzen, MÜSSEN Sie sicher gehen, dass TitleShadow vor VisualPrefs gestartet wird. Das heisst Sie müssen TitleShadow eventuell selbst eintragen.")
  51.   
  52.     (set #endmessage "\n\nTitleShadow ist nun installiert. Sie müssen den Amiga neustarten um den Patch zu aktivieren.\n\nWenn Sie irgendwelche Fragen, Anregungen oder Bemerkungen haben, schreiben Sie mir bitte eine E-Mail an:\n\nmrtickle@amiga4k.ndo.co.uk")
  53.  
  54.     (set #guidefile "TitleShadow_D.guide")
  55.     (set #guideinfofile "TitleShadow_D.guide.info")
  56.   )
  57. )
  58.  
  59. ; - FRENCH STRINGS
  60.  
  61. (if (= #language "français")
  62.   (
  63.     (set #welcome2 "\n\nMerci pour cet essai de TitleShadow.\n©2000-2001 Peter Gordon\n\nS.V.P, lisez la documentation !\n\nATTENTION : Ce programme est un PATCH et il se peut qu'il soit incompatible avec d'autres programmes. Vous utilisez ce programme A VOS PROPRES RISQUES.")
  64.     (set #wheremainexe "A quel endroit désirez-vous installer l'executable de TitleShadow ? (un répertoire NE SERA PAS crée)")
  65.     (set #whereprefs "A quel endroit désirez-vous installer le programme de préférences ? (un répertoire NE SERA PAS crée)")
  66.     (set #wheredocs "Ou dois-je installé la documentation? (un répertoire NE SERA PAS crée)")
  67.  
  68.     (set #whichicon "Quel icone désirez-vous utiliser pour le programme de préférences?")
  69.     (set #iconhelp "Il y a 3 différents icones disponible pour le programme de préférences de TitleShadow. S.V.P, sélectionnez celui que vous préférez le plus")
  70.  
  71.     (set #startupask "\n\nTitleShadow nécessite d'étre installé dans votre fichier 'S:User-Startup' pour étre executé a chaque démarrage. Ce script d'installation va tenter de le faire pour vous, mais si vous utilisez VisualPrefs, Vous DEVEZ étre sur que TitleShadow sera executé AVANT VisualPrefs.\n\nDésirez-vous ajouter TitleShadow dans votre fichier User-Startup?")
  72.     (set #startuphelp "TitleShadow nécessite d'étre installé dans votre fichier 'S:User-Startup' pour étre executé a chaque démarrage. Ce script d'installation va tenter de le faire pour vous, mais si vous utilisez VisualPrefs, vous DEVEZ étre sur que TitleShadow sera executé AVANT VisualPrefs.")
  73.  
  74.     (set #endmessage "\n\nTitleShadow est maintenant installé. Vous devez redémarrer votre amiga pour activer ce patch.\n\nSi vous avez des questions, suggestions ou commentaires, envoyez-moi un e-mail à :\n\nmrtickle@amiga4k.ndo.co.uk")
  75.   )
  76. )
  77.  
  78. ;----------------------------------------------------------------------------
  79.  
  80. (user 1)
  81. (message #welcome2)
  82.  
  83. (set #maindir    (askdir (prompt #wheremainexe)
  84.             (help @askdir-help)
  85.             (default #defmainexedir)
  86.         )
  87. )
  88.  
  89. (set #prefsdir    (askdir (prompt #whereprefs)
  90.             (help @askdir-help)
  91.             (default #defprefsdir)
  92.         )
  93. )
  94.  
  95. (set #docsdir    (askdir (prompt #wheredocs)
  96.             (help @askdir-help)
  97.             (default #defdocsdir)
  98.         )
  99. )
  100.  
  101. (showmedia 'iconpic' #iconpic 'upper_left' 'none' 1)
  102.  
  103. (set #insticon
  104.     (askchoice
  105.         (prompt #whichicon)
  106.         (help #iconhelp)
  107.         (choices #icontype1 #icontype2 #icontype3)
  108.         (default 0)
  109.     )
  110. )
  111.  
  112. (closemedia iconpic)
  113.  
  114. (if (= #insticon 0)
  115.     (set #iconsrc #iconfile1)
  116. )
  117. (if (= #insticon 1)
  118.     (set #iconsrc #iconfile2)
  119. )
  120. (if (= #insticon 2)
  121.     (set #iconsrc #iconfile3)
  122. )
  123.  
  124. (copyfiles (source "TitleShadow")
  125.        (dest #maindir)
  126.        (optional "nofail" "force" "askuser")
  127. )
  128.  
  129. (copyfiles (source "TitleShadowPrefs")
  130.        (dest #prefsdir)
  131.        (optional "nofail" "force" "askuser")
  132. )
  133.  
  134. (copyfiles (source #iconsrc)
  135.        (dest #prefsdir)
  136.        (optional "nofail" "force" "askuser")
  137. )
  138.  
  139. (copyfiles (source #guidefile)
  140.        (dest #docsdir)
  141.        (optional "nofail" "force" "askuser")
  142. )
  143.  
  144. (copyfiles (source #guideinfofile)
  145.        (dest #docsdir)
  146.        (optional "nofail" "force" "askuser")
  147. )
  148.  
  149. (set #runmain (tackon #maindir "TitleShadow"))
  150. (set #runmain (cat "Run <>NIL: " #runmain))
  151.  
  152. (startup "TitleShadow"
  153.         (prompt    #startupask)
  154.         (help #startuphelp)
  155.         (command #runmain)
  156. )
  157.  
  158. (message #endmessage)
  159.  
  160. (set @default-dest #maindir)
  161.